package com.ganbo.pattern.singleton;

/**
 * 枚举式单利
 * Created by gan on 2020/6/8 22:01.
 */
public enum EnumSingleton {

    INSTANCE;


    public static EnumSingleton getInstance(){
        return INSTANCE;
    }

}
